package org.nf.ssm.service;

import com.github.pagehelper.PageInfo;
import org.nf.ssm.domain.Borrow;

/**
 * @author zhu
 * @date 2024-10-17
 */
public interface BorrowService {

    PageInfo<Borrow> getAllBorrow(Integer pageNum, Integer pageSize,  String bookName, String borrowId, String borrowType, Integer typeId);

    void addBorrow(Borrow borrow);

    void updateBorrow(Borrow borrow);

    void deleteBorrow(Integer index);
}
